package com.four.user.service.impl;

import com.four.user.entity.Userandcity;
import com.four.user.dao.UserandcityMapper;
import com.four.user.service.IUserandcityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gs
 * @since 2021-12-23
 */
@Service
public class UserandcityServiceImpl extends ServiceImpl<UserandcityMapper, Userandcity> implements IUserandcityService {

    @Autowired
    private UserandcityMapper userandcityMapper;

    @Override
    public void addUserandcity(Userandcity userandcity) {
        userandcityMapper.addUserancity(userandcity);
    }
}
